<template>
	<view class="home">
		<uni-table border stripe emptyText="暂无更多数据" >
			 <uni-tr>
			        <uni-th align="center">员工姓名</uni-th>
			        <uni-th align="left">实发合计</uni-th>
					<uni-th align="left">应发合计</uni-th>
					<uni-th align="left">扣款合计</uni-th>
					<uni-th align="left">人员类别</uni-th>
					<uni-th align="left">员工编码</uni-th>
			    </uni-tr>
				<uni-tr v-for="(item,index) in tableDate" :key='index'>
				        <uni-td align="center">{{item["员工姓名"]}}</uni-td>
						<uni-td>{{item["实发合计"]}}</uni-td>
						<uni-td>{{item["应发合计"]}}</uni-td>
						<uni-td>{{item["扣款合计"]}}</uni-td>
						<uni-td>{{item["人员类别"]}}</uni-td>
						<uni-td>{{item["员工编码"]}}</uni-td>
				</uni-tr>
		</uni-table>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello',
				tableDate:[],
				allDataTable:[],
				top:''
			}
		},
		methods:{
			pullDataToTable(){}
		},
		onPageScroll(res) {
			this.top = res.scrollTop;
			
		},
		onLoad(option) {
			this.tableDate = JSON.parse(option.item)
		},
		
		methods: {
			
		}
	}
</script>

<style scoped lang="scss">
</style>
